<%@page import="com.youchuang.common.Constant"%>
<%@page contentType="text/html;charset=utf-8"%>
<%@ page import="com.youchuang.bean.User"%>
<link href="/shopping/css/book_head090107.css" rel="stylesheet"
	type="text/css" />
<!-- 使用EL表达式 -->
<div class="head_container">
	<div class="head_welcome">
		<div class="head_welcome_right">
			<span class="head_welcome_text"> </span> <span
				class="head_welcome_text"> <span class="little_n"> | <a
					href="/shopping/user/selectIndent" name="mydangdang"
					class="head_black12a">我的书生</a> | <a
					href="/shopping/common/introduce.jsp" name="helpcenter"
					class="head_black12a">帮助</a> |
			</span>
			</span>
			<div class="cart">
				<a href="/shopping/cart/viewAction">购物车</a>
			</div>
		</div>
		<span class="head_toutext" id="logininfo"> <%
 	if (session.getAttribute("s_user") != null) {
 		if (((User) session.getAttribute("s_user")).getEmailVerify() == Constant.PASS) {
 %> <b> <span style="color: blue; font-size: 15px">${s_user.nickName }</span>您好，欢迎光临书生网
		</b> [&nbsp;<a href="/shopping/user/logout" class="b">登出</a>&nbsp;] <%
 	} else {
 %> [&nbsp;<a href="/shopping/user/toLoginAction" class="b">登录</a>|<a
			href="/shopping/user/toRegistAction" class="b">注册</a>&nbsp;] <%
 	}
 	} else {
 %> [&nbsp;<a href="/shopping/user/toLoginAction" class="b">登录</a>|<a
			href="/shopping/user/toRegistAction" class="b">注册</a>&nbsp;] <%
 	}
 %>
		</span>
	</div>
	<div class="head_head_list">
		<div class="head_head_list_left">
			<span class="head_logo"><a href="/shopping/mainAction"
				name="backtobook"><img
					src="/shopping/images/booksaleimg/book_logo.gif" /> </a> </span>
		</div>
		<div>
			<form class="form-wrapper cf" action="/shopping/main/searchBookList"
				method="post">
				<input name="name" type="text" placeholder="请在这里输入..." required>
				<button type="submit">搜索</button>
			</form>
		</div>
	</div>
	<div class="head_search_bg"></div>
</div>
